package website.haicheng.cloudauth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import website.haicheng.core.base.BaseEntity;

/**
 * <p>
 *
 * </p>
 *
 * @author 582895699@qq.com
 * @since 2021-02-10
 */
@Getter
@Setter
@ApiModel(value="RoleMenu对象", description="")
public class RoleMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    @ApiModelProperty(value = "菜单ID")
    private Long menuId;
}
